The Source Control Integration API > The source control integration API optional functions > SCS_GetNumCheckedOut()

 

SCS_GetNumCheckedOut()

Description

Returns the number of people who have a file checked out.

Arguments

connectionData, remotePath

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePath is the fully qualified remote file or folder path to check to see how many users have it checked out.

Returns

An integer representing the number of people who have the file checked out. If the function returns < 0, Dreamweaver considers it an error and tries to retrieve the error message from the DLL if supported.